/**
 * *************************************
 * Copyright(c)2016 Dingdang Yixia 
 * All Rights Reserved.
 *
 * @File: WdgjStockController.java
 * @Package: com.ddyx.rest
 * @Description:
 * 
 * @Version: V1.0
 * @Author: Yidong.Xiang
 * @Date: 2018年9月4日 下午3:47:36
 * 
 * *************************************
 */
package com.ddyx.rest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONObject;

/**
 * @ClassName: WdgjStockController.java
 * @Module: 网店管家库存相关接口请求
 * @Description: 
 * 
 * @author: Yidong.Xiang
 * @date: 2018年9月4日 下午3:47:36
 * 
 */
@Controller
@RequestMapping("/wdgj/stock")
public class WdgjStockController {

	//库存异动接口
	@ResponseBody
	@RequestMapping(value="/sync",method=RequestMethod.POST,produces="application/json")
	public JSONObject sync(
			@RequestParam(value="method", required=true) String method
			,@RequestParam(value="appkey", required=true) String appkey
			,@RequestParam(value="token", required=true) String token
			,@RequestParam(value="bizcontent", required=true) String bizcontent
			,@RequestParam(value="sign", required=true) String sign
			)
	{
		return  new JSONObject();
	}
}
